import request from '@/utils/request'

// 查询1 小时压力振幅统计列表
export function listDispatchOneHourPressureAmplitudeStatistics(query) {
  return request({
    url: '/system/dispatchOneHourPressureAmplitudeStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询1 小时压力振幅统计详细
export function getDispatchOneHourPressureAmplitudeStatistics(oneHourPressureAmplitudeStatisticsId) {
  return request({
    url: '/system/dispatchOneHourPressureAmplitudeStatistics/' + oneHourPressureAmplitudeStatisticsId,
    method: 'get'
  })
}

// 新增1 小时压力振幅统计
export function addDispatchOneHourPressureAmplitudeStatistics(data) {
  return request({
    url: '/system/dispatchOneHourPressureAmplitudeStatistics',
    method: 'post',
    data: data
  })
}

// 修改1 小时压力振幅统计
export function updateDispatchOneHourPressureAmplitudeStatistics(data) {
  return request({
    url: '/system/dispatchOneHourPressureAmplitudeStatistics',
    method: 'put',
    data: data
  })
}

// 删除1 小时压力振幅统计
export function delDispatchOneHourPressureAmplitudeStatistics(oneHourPressureAmplitudeStatisticsId) {
  return request({
    url: '/system/dispatchOneHourPressureAmplitudeStatistics/' + oneHourPressureAmplitudeStatisticsId,
    method: 'delete'
  })
}
